﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DunLibrary.CreditCard;

namespace DunLibrary.Base
{
    /// <summary>
    /// 联系方式
    /// </summary>
    public interface IContact
    {
        /// <summary>
        /// 主键
        /// </summary>
        int Id { get; set; }
        /// <summary>
        /// 所有人
        /// </summary>
        Cardholder Owner { get; set; }
        /// <summary>
        /// 联系方式类别
        /// </summary>
        ContactType ContactType { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        string Name { get; set; }
        /// <summary>
        /// 关系
        /// </summary>
        string Relation { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        string Content { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        string Description { get; set; }
        /// <summary>
        /// 信息来源
        /// </summary>
        InfoSource InfoSource { get; set; }
        /// <summary>
        /// 是否有效
        /// </summary>
        bool IsValid { get; set; }
        /// <summary>
        /// 新建日期
        /// </summary>
        DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        User.User Creator { get; set; }
    }
}
